<extend name="Base:base" />
<block name="title"><title>定点管理</title></block>
<block name="content">
<script type="text/javascript" src="__PUBLIC__/Js/add_check.js"></script>
<link href = "__PUBLIC__/Css/add.css" type = "text/css" rel = "stylesheet"/>
<div id="contentReg" align="center">	
  	<div id='register' align='center'>
    <p style="margin-left:-200px; font-size:20px; color:#1d353f; font-weight:bold;">添加定点</p>
    <hr width="420px" />
   		<form action='__CONTROLLER__/add' method='post' id="form_addScenic" enctype="multipart/form-data"/>
    		<ul id='inputReg'>
				<li>定点名称：&nbsp;&nbsp;
					<input type="text" name="name" id="name" style="width:150px; height:20px;" onFocus="javascript:hilite(this)"; onBlur="javascript:delite(this)"; />
					<div id="tsdiv"><font id="name_ts"></font></div>
				</li>
				<li>定点纬度：&nbsp;&nbsp;
					<input type="text" name="latitude" id="latitude" style="width:150px; height:20px;" onFocus="javascript:hilite(this)"; onBlur="javascript:delite(this)"; />
					<div id="tsdiv"><font id="latitude_ts"></font></div>
				</li>
				<li>定点经度：&nbsp;&nbsp;
					<input type="text" name="longitude" id="longitude" style="width:150px; height:20px;" onFocus="javascript:hilite(this)"; onBlur="javascript:delite(this)"; />
					<div id="tsdiv"><font id="longitude_ts"></font></div>
				</li>
				<li>定点类型：&nbsp;&nbsp;
					<select name="type" id="type" class="selectpicker" style="width:150px; height:20px;">
						<option value="scenic">景区</option>
					</select>
					<div id="tsdiv"><font id="school_id_ts"></font></div>
				</li>
				<li>定点所属：&nbsp;&nbsp;
					<select name="belong" id="belong" class="selectpicker" style="width:150px; height:20px;">
						<foreach name="list" item="scenic">
							<option value="{$scenic['id']}">{$scenic['name']}</option>
						</foreach>
					</select>
					<div id="tsdiv"><font id="school_id_ts"></font></div>
				</li>
                <li><input type="button" value="添  加" id="btn" onclick="javascript:submitBtn()";></li>                                 
			</ul>
    	</form>
    </div>
</div>  
</block>